created working base class and config xml