Refactored documentation of config objects
Added updated JsDoc template

Also needed some changes to documentation structure to fit with page width
restictions.