initialisation of app