rewrite _oasis, Makefile, add configure