Initial composite pattern implementation