added loading functions and stuff to cm_dict_gen.c, added cm_bp