hopefully last question; I still don't quite understand how the regulator (at least the one I posted above) handles current -> linear regulator outputs the same current as it inputs, how about the switching one? how is the output current managed?
You're working in the wrong direction. The output current is not "managed" by the regulator in either case, it's managed by the load. The regulator controls its input current.
A linear regulator, wired normally, outputs a voltage (V). When you connect a load (R), the load draws a current equal to I=V/R. In order to supply this current to the load, the regulator draws the same amount of current from its input. The efficiency is calculated as Pout/Pin, but since Iout=Iin, you can get the efficiency just by Vout/Vin. Linear regulators can only drop the voltage down, they can't raise it up.
A switching regulator also outputs a voltage (V). When you connect a load (R), the load draws a current equal to I=V/R. In order to supply this current to the load, the regulator must draw AT LEAST as much current from its input to satisfy Pout <= Pin. It does this by pulsing current from the source and storing it in a magnetic or electric field before delivering it to the load, which allows it to step the voltage up or down. So the current drawn from the source isn't continuous, it's pulsed, but stick a big cap on there and you can smooth most of that out. The best way to estimate the average current drawn from the source is to use the manufacturer's provided efficiency numbers. You should find some chart or table in the datasheet that gives you the approximate efficiency as a function of input/output voltage and output current. Once you know the efficiency, then the power input will be Pout/eff, and the current input will be Pin/Vin. So for example with a voltage input of 30V, output voltage of 15V, current output of 2A, and efficiency of 90%, you get 30W out, 33.3W in, and 1.11A in.