Component system to allow creation of complex interconnected components