Decouple the doriuby framework from the core runtime