Added many commands, and the input interpreter