added database module and dependencies