key movement
class for key input