Added events
Fixed autoloader