reimplemented write_impl
added test for new write-impl, removed previous write-impl
Merge pull request #13 from iderikon/feature-master-write-reimpl

Feature-master-write-reimpl