Bump version to 0.1.0

- Fix bugs when the command is run with relative path will not work
  correctly.
- Update .gitignore and gemspec
- Misc code cleanup