added some service and controller implementation