Bugfixes etc

The removal of the last four items was moved to the HookService.

A new constructor was added to the XmlRepository that overwrites any
existing file.

Added remove Funtionality.