Create main program