I've posted before my power module that takes in track power and gives you adjustable DC power. I just made a PCB for the DCS choke, bridge rectifier, and bulk capacitance. Below it is a common switching regulator board that I buy in quantity from eBay.
Buck P/S module on the left, assembled P/S module on the right.