Added phpdocs
Added events, subscribers