set up url and views