broke jade into index, layout and header files