Renamed reader.go since it is no longer just for reading
writing support finished