added event manager (migrate to branch #3)
added mongodb support
enabling ext-mongo
set default mongo env