Initial commit of the RPG code