add db model and db management
Merge branch 'master' of https://github.com/snowery/TAT-Project