service class + service thread added