Move the config stuff to java and doc.
Allow reloading the routes file to be switched off.
Allow configuration of the host.