centralise setting of Task fields in Parser

-centralise setting of Task fields to only at the end of Parsing
-update Parsing for deadline tasks