updated resources to use cdn if possible. sorted out pages into further includes and layouts. updated most pages to use markdown.