Moved config to it's own directory and added support for config npm package