Bootstrap refactored.
Added initialization events.
Profiler moved to core helper.