Moved Config class to Foolframe models, used profiler's ability to output html, stopped using profiling to determine if profiler should be shown