add input commands class, #192