I can't do a proper translation, plus I can't code, but here are some tips for the English part:
- "already" (уже) usually goes with present perfect, not simple past.
- "init" is an abbreviation for "initialize", so the past form is "initialized". "Inited" is not a word.
"We have already initialized..."
You never have "to" after "should". "Should do."