ThinkMem: Optimize LLM Memory & Information Retrieval