Created controller and views