Updates rakefile to cleanup after itself
Adds a class for parsing command arguments to move that logic out of the binary