C library, inspired by Objective-C API