Adding class to Phaser scene

Hi, I want to create “class initLevels” and classes level1, levels2… which extends it. How can I add them as scene and pass the key?