adding selection event framework

Created a listener on the list control and hooked the main frame into
it, only printing out the date of the session.