added license and stripped out Postmedia specific stuff