Implement LayerParts and many more fixes