change to database sqlite. Creation of list, insert and init.