add SGImageCache and MGEvents frameworks to project