removed unused example and modificed the addOption inthe GlobalConfiguration

Change-Id: I5a94f1fdde74a6843a8dc108d51de0bae79f4c5c