Functional client with user input, server and client stay alive and communicating