*removed the static operator
*set the base directory from the app domain instead of the http context
*flattened out the logic by pusing functionality to methods
*updated the sublayout paths on the content items