Moved task implementations from main.cpp to their own files, e.g. CommandTasks, InfraredTasks.