adding controllers and views