Fix power and industry inheritance, use scala trait for power implementation.