Add options for writing
Update version number to 0.1.1