Move manage database to deps