cianParse.py: Refactoring.