DBOps

The Database controller class. Sorry it took me so long to get it up.