refactoring, added config
adjusting to restructured JSON