add some files and creat main func