moved Main() to server.Server()

By moving main.Main() to server.Server(), we're no longer importing
main, so travis-CI will hopefully build.