Changed file structure. Introduced header and footer files.