modified
added abstract class for all simple dictionaries
added query criteria(test)