init app
init rest