Finished basic infrastructure of the program.