added state app core.