Changed the way Model Table name is gathered

If the table name is stored in the Model Attribute we will use that, If not it will work out the default