move destroying-code into a separate module
Merge branch '701-delete_repository_error' into develop