Refactored to use ParsedResult class
Removed the parsed instance variable for caching parsed input
Updated commented data structure about the functions
Added model file generation function that needs a lot of refactoring and a todo on tableName