Modified Metric class.

Made serializing more efficient and enabled iterating through an an
array with foreach for ease of data display.
GUI Update

Updated GUI, Refactored many members and edited a lot of things.