Quick fix up to remove old DB code. Also not importing launchpadlib because the view that uses it is disabled.