Feature/be friendlier to fenix framework

A few refactorings to make code in JVSTM accessible and reusable from the Fénix Framework.