move index back to root folder, fix getting css and script files