added IHashids interface to improve testability

TDD :heart: