implemented TermAdapter class + various SQL accessors for entities
meh