Broke out Main class with options parsing