Added proxy

Added proxy param
Added Comments

Added some key comments for code.