Improved cdoc
Added apps to installation
Made cdoc a CApp