changed gitignore
added write memory to the lib