Finish refactoring mist_images moduole