Moved tasks into classes

Moved all scheduled tasks from the onEnable() function into classes.