Handle application loop using remogatto/application