CM-900 library modifications and example programs