Now creates components through static ComponentFactory.
Implemented config option to take site offline.