refactored module to export two methods:
- createOverlay
- createRelay
integrated updates to eventsim to handle keyboard events