Extracted interface from Api, refactored names to make more useful, added examples for CKAN usage