First working code of Joddial

Basic functionality for connecting.