You can run a BMX star nut and run the front cable down through the head tube inside the steerer tube on the fork..
You run the rear derailleur cable and rear brake cable together in marital bliss all the way back. (a little extra cable so you can wrap it around a full turn)
Then you can do tailwhips and barspins.