Config refactoring

* Moved constants into config file
* Loaded config directly into json struct
Merge pull request #1 from belak/master

Config Refactoring