Service for handling db access.