Xhr functionality refactored.
Added Http - a wrapper over Xhr.
Added Application - initial implementation.