modify main program

modify main program and add some test files