implementing first controllers and views