built a class that represents a report