Remove AMD codes. Extend into $.storage.
Added Makefile.