Reddit automated task
Reformat into module and class