Added base client-side component.
Moved some settings to shared.