Create service class and validation