Renamed the main method to 'parse'