Using config object for all configuration, adding filebased testmode.
Moving server greeting and the like into configuration.
Move constants and configuration in own package.
Splitting the testmode and work-on-file flags to provide them separate.
Adding skeleton test runner.