Adds the sales history and department revenue reports, as well as some code refactoring.