Implemented config with an option to give allowed paths.
Merge pull request #8 from kaspernj/kj/allowed_paths_impl

Config -> allowed paths implementation