Added flip methods to the Entity class.
Fix language initialization mistake.