Separating into individual files.

Originally all in-line to for copy/pasting into different testing sites altogether, before settling on Github for working versions.