HSEARCH-436 Implementing metadata interfaces and adding documentation

Also reviewing the configuration chapter as whole, restructuring it and fixing typos