added rake tasks to generate data, also added validations to comments