Added basic validation.
Added arity validator. Parameters not yet completed.
Tested parameters.