refactoring
extracted image saving and file decoder to services
code refactor