Adding option for hashMode.

Updating options structure.
Updating readme and examples.
Updating tests.