add state behavior, now entity is pure class