Added Validation functions into the module itself
Wrote tests for validation and Fixed failed methods
0.04