Changed the program structure and name.