Generic Python framework for developing media applications in PySide