Refactored scene setup.