add osx support; some work on #11 and #15