Import code

import code from other project for fulfilling the promise of this
library.
Rough import, doesn’t work yet.