Prepared event manager module and added documentation.