Added some test classes: gui, client. Partially implemented snake's logic