A bit of clean-up before we mess with controllers.
Added an experimental select function for DBOperations.