refactored to use cocoapods for external libraries. fixes #3

I extracted everything I could find a cocoapod for.