started setting up client and server