reformated all the code in the rpg modules.