Dimitrijević was key part of Serbia’s power structure at the time.
It seems to be the case that the Russian military attaché in Serbia, Viktor Artamonov, financed Dimitrijević plans. Whether St Petersburg knew about this is unclear, but why would Artamonov use his private money to pay for foreign terrorism?
Russian intelligence had been able to read Austro-Hungarian diplomatic ciphers for a while before the war, so it is likely that St. Petersburg was aware of what Vienna’s probable reaction to the assassination would be.
So no, it wasn't just G Princip.
Today organisations like ISIS use dumb and angry youths like G Princip.