Setup Rex Joystick in every scene with a class

Hi all,

How do I setup the Rex VirtualJoystick in every scene without repeating common codes.

Most of the config and position is fixed across all the scenes.

[Virtual joystick - Notes of Phaser 3]