Start for suporting the ExtendedData type
Finished and tested the adding of ExtendedData
Cleaned up the example file