Replace hard coded configuration with config files. Resolves #2.