init core app