Add command line options -cfg and -[v|verbose], implement json config