Renamed and changed table structure
Added method tablename on Model
Created managers and refactored