adds map functionality. moves index content to separate _include files.