adding events and router + docs