Java framework for an RPG engine