moved some test code, and started to develop the client side