Lots of work... SQlite script is ready...