implement parseTask methods and move them to DataStore class