Refactored rendering with defaults to a rendering module to keep routing more DRY