Changed piano adapter to be a singleton class. Remove apple.awt import