seperated server code to new repo