Move common data to common.py
Add method comments to get_images