Done though using Service
Added Service class