Add configuration file and plist for macosx
Simplify