Added get header function, refactored getCachedData
Modify interface
Header options
Uncomment
Add return=xml and includeHeader