Fixed Events and added Sessions

Fixed Events and added Session begin/end with a resolution parameter