refactored gui input code to guiinput.js
moved cursor.js to gui/guicursor.js