Update the content handling in the base controller.
Updated the output handling to parse resource and normal site URL's.
Added resource handling.