- extern "C" in places of C-libs usage
- better names