Introduced parse_config for CLI
Updated tests