Implemented purgeWorld command to recreate world at runtime. (#780)