* Cocoa support

* Removed 2d and NIS