added a service class called QuoteService, which is now used by the
controller