WIP: metrics controller, graphs