Implemented db:init