updated cxxtags for new db backend.
implement basic functions.
update a test.
implement "def" query.
implement basic functions.
update a test.