Changed some class names. Fixed some comments. Added "run" class for
every task. Fixed some logic.