RPG framework