Removed site manager from controllers and abstracted out render for use externally.