Changes in control classes and entities. Adding ToString, equals and HashCode.