Version 1

Works and sufficiently documented.