Refactor KKImageManager