Built out the server file to make front-end work easier