Added memory.h
First render
Fixed test