aadded support for verbose logging to stderr
added handling of filepath argument
more option/argument handling