Add getSalesModel in database.js
Add /sales GET support