First basic working version of the program completed