initialized controllers and views