Move functions for hash tables to hash-tables library
Use utility function add-auto-mode to add types to the auto mode list
Put cache files in user cache directory