Implemented dependencies and deadlines in tasks