Major refactoring from framework to a proper Podspec for easier distribution. Also starting a mac sample app.