- Modified the parsing logic to be simple using regex. Removed unnecessary functions.