remove bash dependency, tmp yaml option and some minor refactoring

- remove bash dependency
- tmp yaml option and some minor refactoring
- readme update