Created a class for publications.