smart hash table with ttl and more cool stuff