add demos of composite pattern in both security pattern and transparent pattern.