Biiiiig refactor to have json in config/ folders