added scribe and apache codec; a few other minor changes
added Nick's stuff