SessionFactory - EventHandler namespace bugfix

Added the EventHandler namespace to the SessionFactory.