Programm implementation using a sqlite Database