Start porting to Mac OS
Add missing files