new redirect function and response class
Merge pull request #3 from buhman/master

new redirect function and response class