add docs, move Cloud primitives to Library project