Fix server initialization test

Check that during normal control flow, the server reference is not nil.
If it is not nil, then check that the error code is not nil
Refactor - Break up start server into more modular methods

The server should have a start command that does the port and rpc
initialization. This makes the code more easy to test.
Cleanup StartServer method
Remove fmt dependency