Moving server code to the src/server/X folders

moved the server code into src/server/X