clean up repository structure