Refactor commands and callbacks into individual functions
Each command input should have it's own function, as should it's callbacks for receiving commands.
Currently it's just a big if statement.
Each command input should have it's own function, as should it's callbacks for receiving commands.
Currently it's just a big if statement.