Initial code push

* This is very much in progress; expect changes
Merge pull request #1 from PaulMontgomery/start

Initial code push