Moved logic out of the main view controller into the DOImmersiveFormViewController so that it can be reused in other view controllers.
Added a podspec

Creating a cocoapod