rename database to model
refactor Item model