Initial check in, use some php code to get to the right template files.