Refactor codebase
Created by: ulrichsg
With the latest influx of features, and the continuing interest in further development, the current code structure does not cut it anymore. As of v1.3.0, the Getopt.php file measures 560 lines, its longest method (parse()) alone is over 80 lines long - not counting the docblock. It needs to be split up into more manageable units.