Adding libs, index, templates