added simple reverse proxy
reorg of the go code and tests