add exit action & add init folder check & change file folder structure