Issue#27: C interface implementation

following issue #27 
C interface should not expose any C++ libraries including STL. Please use `C arrays` (and size) instead of `std::vector`.