Initial commit for main functionalities of validation