Add session id middleware implementation.
Initial events module/app implementation.