refactors Library into separate MediaCollection and TransactionController classes; refactes Book and Movie into Media class; deletes Library, Book, Movie classes and Media interface; breaks tests and main