Changed function permissions and added checks to see if queries didn't return anything.
Changed getItemCategory to take it's parts rather than the full category
Added getTotalSold method
Refactored Item to use SQLTrait instead of keeping all the SQL to itself.
Added \Factory\SalesItem