Issue #30: introduce new initialization hook system

Add new initialization system which similar to LK.