Problems: 1. Too much C interop stuff exposed to the user. 2. Don't know how to convert C strings to Fortran successfully. Some good Fortran re-thinking is needed here...