#198 implemented GUI and server side