moved configurables to json file, moved config functionality to separate class object