Removed all web related references and code out of the Core project and
into the Api project.