Refactored code, added module parse_utils, code scores 10 on pylint.