Added validations and updated readme