Key members are now private

The data is set by constructor and checks are implemented