barely working bindings
basic support for binding to libraries