Refactored configuration setup

- Removed config section of ``package.json``.
+ Added ``config.js``
+ Added default values to config options
+ Added IP address config option
+ Added option for using a ``config.json`` file
+ Added basic validation for config files