add Memory Management and update README.md file