Pulling in Ported Code

... production, only for reference.