initial template and flask view