libmif API & CALLBACK interface changes

adhere to interface doc v0.03.