Added main service class and validations class
added main service class and validations class.