Interface Change

Split the program into GUI and command line interface version.