How to use separate files for scenes and config

Waow! We can create in a class a keyed asset that was loaded in some other class. Is that correct?