Moving Db and Auth

These should be optional modules that people can either use or not,
depending on whether they have other options they’d rather use for
database access and user authentication/authorization.