Externalizing links config

Rather than hardcode urls into index, can now specify in the main config file. I think if you merge the other request first then the changes here will be simpler to see.