Updated sqlite interface and Task parent