factor out the read_authors method to a separate class