Added purge of the conf dir

In order to keep the config directory clean I added the purge option.