C interface generation integrated into impala + minor changes to options ...

...in main.cpp