develop
Move ErrorCode to Core namespace
Refactor execution thread creation and initialization
Introduce safe functions concept