makes erbs pretty and extracts header, head, and footer logic
hope this works