Service hooks for Cloud Foundry, plus sample web app