rename kappa,gamma -> data in Maps
introduced Spin1 class