Almost Periodic Functions and Locally compact Groups