Added caching for the categories, and implemented invoices for the orders