New configuration system based on RC module

Fix for issue #177
[RC module](https://npmjs.org/package/rc)