Refactor MakeDirPage() and improve MakePage()

Ref #102
Refactor MakeGitPage()

Ref #102
Refactor MakeTreePage() and some template creation

Ref #102