A fork of Morphia with some my hacks