Added abstract service class, but it is not working yet.