Created write class and method
Updated Write methods
Merge pull request #10 from DannyFesperman/write

Updated Write methods