install cocoapods and add Podfile
refactor