setup start scripts and initialization of app