Started added support for config in .json files