fix a bug looking up items in a composite datasource
restructure project layout to support subspecs
add sub specs to podspec