introducing READ-ONLY mode part1

read-only mode not yet handled in DecoratorWithPorts, TBD!!!