initial import of version 1.12
makefile and directory structure refactoring
support for older OS X versions