Fix issues with redirects
0.1.0: cleanup, tests, etc