[Coding style] Use braces in 'else' part of the conditional statement
[Coding sytle] delete whitespaces
Improve doxygen comments
Use ifdef to prevent that header will be included twice
Include config.h
[Coding style] delete empty lines
Improve doxygen comments
[Coding sytle] fix indention