Added podspec and rearranged source files in preparation for setting up as a pod.