delete some unused files.
modify program struct
this version is unstable, more tests should be done.