Topochemical Manipulation Of Layered Perovskites