removed print function
refactor
refactor
added cursor functions (forward, backward, up and down) and removed moveCursor
refactor, add enter class and added escape methods up and down
cleanup
cleanup and refactor