Write first bits of Component class