Added classes for Author and Subject, updated addBook