Implemented Session variables, click handling and board events.