Major refactoring of Action, TurnState and Field: adding generic Game/Bean + reformatted code