Added a new file to handle the form validation and reorganized the folder