added yml configs. added eventdispatcher. still integrating...