Refactored and created a ComplexityParser which will form the base for parsing different files types