initial commit. added support for Mac OS X 10.6+