Various fixes for the cloud editor tool.
Added notion of library to the cloud editor.