Adding the classes and test to transform input to array
Add the validation