Added EventQueue and Finished Basic Functionality