moved tokenizer interface out of Config outer class.
added event package with first event and listener classes