moved server stuff into the project so it can be used