adding the composite pattern and an index.html file for testing