added first version of photPack.py