implemented first version of client-daemon; can initialize a connection to server