Bump version to 0.2.4

- Use `require` instead of `require_relative`
- Misc code cleanup