Magnetism And Superconductivity In Topotactically Modified Transition Metal Chalcogenides