added database backend (CRUD)