Added OSX build
Worked on documentation
Fixed example for OSX