added superclasses for shard code between layers and compositions