Modify files to compile the project

Signed-off-by: Krzysztof Opasiak <ups100@tlen.pl>
Provides base macro for auto-registration in factories

Signed-off-by: Krzysztof Opasiak <ups100@tlen.pl>
Provides loger macro

Signed-off-by: Krzysztof Opasiak <ups100@tlen.pl>