Message system

Added a message callback system for cursor events
Added JSON module to project, although the parser is not functional