Made FS main scene into factory class