Refactoring: changed "pyramid" to "app" in all requests