Tweaked macros and global settings a bit.
Added makefile.
Added metadata storage documentation.