Fleshing out file structure, added templating.