Moving api calls to seperate module
Using ckanapi with key instead of rest and urllib2