created a class for reding some of the public data