Moving to a separate application object instead of using the global object
Changed the way to configure on init. Removed .json file and added .config / .config-sample
Ch-ch-ch-changes. Added sample config file, ApiBase class. Need to commit more often. Useless coder, can't say mass.