Add last inserted id method to DB class
Add Group and Document classes