refactor database model
git ignore file