Beginning of Cocoa Support

Signed-off-by: Bert Timmerman <bert.timmerman@xs4all.nl>