REFACTOR: merged image.py and common.py
REFACTOR: removed obselete image.py module