Added purge basic imple

That is merely a hack, as no proper partition handling
exists yes, but will make an IT pass at least :)
Cleanup and using AppDirectories instead of config.