Added some java files that will handle the Events