Implemented backendconfig.
Moved metrics stuff to metricsmanager.cs.