Bump version to 0.2.5

- Update the gem's dependencies
- Improve the code structure
- Misc code cleanup