Removed obsolete files, moved coffee defines from cpu to platform, fixed
and improved defines
Removed some compiler warnings