updated so that automatic files like HEADER and FOOTER and INDEX are capitalized to prevent collisions
now header and footer are included from /include/
fixes