Fixed the getAuthor method so that the JUni Tests pass. Other small changes and refactoring of the code in several model files.