Added Metrics and AutoUpdater, reformatted some code, added auto-update boolean to configuration file.