Cocoapods support, changed project structure and added all pods requirements

Restructured the project to fit default cocoapods default structure for libraries. 

Kept the current example in sample folder. 

Moved source code to src directory

Added project dependancies, license, and all necessary details to the podspec file