Move database part to a module.