Created database module.