API for mapping tokens to keys and buildscript fix

- Updated commons codec dependencies and removed hazelcast dependencies.