making commands more script-friendly to reduce code duplication and
break apart monolithic actor class.