big changes.

use hash table to store yaml front matter;
modify how headline exported (so that the title line is not included);