Added support for table name override in model
Refactored model generator and commented it