A process that is carried out at the cellular level which results in the assembly, arrangement of constituent parts, or disassembly of a slime layer. A slime layer is an easily removed, diffuse, unorganized layer of extracellular material that surrounds a cell.