Now builds into shared library + convenience hacks