active model, db handler, repository