Made check if classes exist before loading of the event and di containers
Fixes for various parts of database interaction
Removed @uses doc line