Refactor! Use private methods instead of requiring separate files.
Make an event manager class to handle the logic.