Refactore the WebRequest method and add constants

The WebRequest method is now more generic! Also added is the Constants
subclass (Web).
Updated logic for sending an image
Change in the sln file.