Implemented the input events, data model player, vector for move and view