Moving the compiling over to the service

This makes it easier to get the server to compile multiple services in the future