Refactored Task Parsing Functions

:)