Change private properties and methods to protected to allow extending

Allow to extend Money and Currency class.