Started work on HostConnectionActivity

made ClientCore survive activity destruction
Correctly handling onPause and onResume