AddedKeyboardManagerDemo and CGGeometry+Extension classes