Added base / main ctrl, directives and services.