move server code into server foler