refactoring: moved getQuote and getQuotes to an api quote trait