added static lib targets
added new build script. updated readme and podspec.