Added new command options system. When using verbose, log logs messages twice to stdout - needs fixing.