Refactored now leveraging stringtokenizer dependency for string matching and parsing.