Building database connection mixin in progress.