created controllers and views