Construct server programmatically instead of using the Hapi cli.

Closes #5.