Create EventListener

Migrated events from Main to their own class.