abstract checking for commands
modularization in preparation for new features

iterate over indices instead of for-each
move break duration into separate array
add preparation step
switch sides after half of side plank