(wip) set up custom directives for main layout
Merge pull request #22 from therobinkim/mainTemplate

(wip) set up custom directives for main layout, Merged!!