move app init to helpers/core