Add ajax call for adding a new metric
Add metrics controller