modularization and labels on invariant@ CELL_2048

resolved issue #139.