Refactored DreamController