A simple Objective C (Mac and iOS) writer for .psd files with multiple layers and groups.