added namespace; fixed minor bug with << string operator; added couple fns