make NewContainer more idiomatic. It now returns (*Container, error) so use it in examples