Separate out server code to tools can be run without provided dependencies.
Correctly scope test and server dependencies.