moved statustype and taskresponse into separate files