Template for keychain interface
Generalizing work with time and time intervals
Finally separating from C-API, code now incomplete and cannot be yet used
Import trie data structure from ndnSIM