adds polls template directory and views