Modifying the main entrypoint to be hub server.