Change application staging point and add main state