Framework for a rpg engine in java