Move main modules into lib directory

We also split off a few environment specific configurations.
Add runsite command

We need this command because running our node site just became a little
more complicated. The NODE_PATH variable needs to be assigned as a part
of the command that runs the site, or it won't work.

runsite has default settings, but they can be overrided with the runtime
config file.