Starting the app. Registering phones.