updated and reorganized the table of keys and signatures and refactored key signature class.