moving server code to separate repo