Clean setup.py
Fix thumbnail object asignement in media listing