introduce keyboard class (fix movement)