Added a new event class which is compatible with old syntax
Added a sourcePolyline class for Vector drawing
Added a "onClicked" event for mouse/touch compatiblity