Refactored time, added scaffold for profiler GUI