Use a memory mapped file for loading the url infos.
Don't use a static buffer, it's not thread safe.
Improve memory allocation handling.
Use buffered file read/write.
Add missing files.