0.5 release

Working PR for 0.5 release.