Added metrics definitions; Implemented GUI for the metrics