minimal plugin framework, written in C