finish models, migrations and routes
Merge pull request #2 from georgexzeng/master

finish models, migrations and routes