Create Schema class and tests case
Corrects Component class