some tidying up
update readme
api changes
moved test script to folder
added sphinx docs
new release 0.4