move the logic for building the days events out into a separate profile class