Added footer,header and function files
Added footer, header and function files