header and footer view refactored to separate file