Added support for Mac OSX
Updated README and EXAMPLE files