Fixed code issues found with unity build. Missing include guards, duplicated functions, ...
Add unity build option

Each component and each MW-subsystem will be used as a single compilation unit.