documentation written further and controller/event merged with controller/session.