added role class and service