Remove initMemoryFunction() and l_idx parameter in loadMemory() function
Put creation and deletion of VAO/VBO in loading and freeing functions
Add the responsability of free memory to loadedInMemory() function
Update main_display to use the real memory cache
Increase the memcache size