First working prototype of the client

Very quick, much dirty, so wow