fixed redirection on different host logics
added readme.md doc