Refactored project for cocoapods