Added .gitignore and basic logic for seperating write/reads.
Added .gitignore and cleaned up a bit.
Merging branches.
Fixed merge and cleaned up.