added metrics controller and views