Implementing where clause parameter mapping
Adding TTL support.
Removing unused code.