Fixed models and templates

#note not working pa update/delete
Merge pull request #2 from mervinsamy/master

Fixed models and templates