dirty stable commit

Stable version with 304 status code pipes. Needs code clean up.