memX and NULL implementation
added stage between arch compilation and main makefile