add appContract, arreglo tasks and task