Split main.
Add simple server.