moved event fetch logic into main class, runs every 5 seconds