added dictionary.txt and defined interface