Create a Component class that handles a device representation.