Add licensing to all the sources
some fixes for the hash-table library
Change hash-table files and functions to "map", fix the memleak with ts_map_free
Fix includes, separating library and function dependencies
Put some words into the README