Create Component class