first code with sqlite creation of database