Implemented parameter handling using getopt (currently only --help and --version are supported), added manpage