added method Writer::createAndWrite() with simplified interface
Merge pull request #2 from arodiss/simplified

added method Writer::createAndWrite() with simplified interface