Added cpp category
Added db guard class
added headers
Added date query
added date query