Functioning version of the DB class finished. Added more comments and
more functionality