All the instruments, melodies and arrangements have been 100% made by the producer. No free-royalty use loops have been used to create any part of the instrumental of this track. There can only be loops only in the drums section (claps, shakers, top loops, etc) and ambient or vocal samples as a support of the production arrangement.
Process note
"Just a Dream" is a thematic song. This particular music (I believe) lies in the overlap of 2 grand genres out there: the "melodic house" and "tech-house". It features a driven bass along with metallic-agressive stabs displaced in the arrangement. There's an arp that passes the idea of that somnolence state, dreaming about things. The vocals complement the ambiance and carry the main message: "Wake Up". Chords, acid lines, SFXs, etc, everything creates a particular view in the listener's mind.