Start of admin section.
Make baseURL derivation more semantic.
Add tern config.