Make RcsMap into a class