Added view to aggregate by category, and added function to pull records by company.