Refactor header and footer into separate files. Exclude xhprof built-in functions from the profiling.
Updated profiling call graph.