added event listeners and updated readme