major refactoring:
- to add verbose mode (#10)
- to add file