moved metric objects into their own file