Move the template stuff into the root