Created the basic program flow