First step to integrate server and client code