add tests for apis and extensions configuration.
update doc with new config options apis and extensions.
remove not used configuration of templating.