Commented KeyUtils. Also moved to catching exections in class rather than just throwing them.