adding prescaling
adding profiler and stats page