v1.0

For python 2.7 and 3.2. Works fine with 2.7, have no time for 3.2 to
check.

Code improvements still needed.