Add database infrastructure to project