Move site creation into bundle class.

This allows a site with a bundle to be created without using the view.
This is useful for tests or automated setups.