added basic OS X support
WIP - added OS X Sample app