Added repeated command issuance without ending prematurely before all commands are triggered. Also added a Commands class.