Cleanup input and help using Getopt::Long

This closes #4