fix: move models from database package to model package