[WIP]Config history

- [x] Back up config file up to 100 files.
- [x] Also back up config file when agent starts as another file.
- [ ] Add UI that enable user to see config history and reuse them.
- [ ] Add UI that unable user to reuse the 'running' config.

Now this PR is WIP,  @uu59 please check the direction.