Remove global initialisation

Adds NewServer() function, doesn't change existing interface.
Add staticDirectory parameter to specify static assets directory

Adds new StartWithStaticDirectory function. Defaults to "public"
directory in CWD.