first version of server.hpp, pull and push tested.