Implemented text input, updated Mouse class