More functions. It's a good thing. Move stuff from template_header()
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>