Completed first version of cocoStudio part.