Improved command line options handling. Added the standard options `help’ and `version’ along with a custom one. Added the GPL header.