Made main read stdin into a blob which will later be parsed.
Self-review.