main: Set-up the application id