Implemented config parsing (argv + json file)