Alpha0.5

Implementation of the draft API.
In progress.
Suggest that you do this in a tempfile: https://docs.python.org/2/library/tempfile.html