Initial DB class

My initial work on writing the DB class.