added page header and footer option; Resolves #12