Rewrote some files so that program is compatible with mac. Recompiling CCSS library might be reqiured