Sample Gateway type application