create controllers and views