James Work 22.09.14

-Added queries for main pages
-Added queries for sections