I think you don't need addons in the opcuaserver.cpp. :) Will be better to create direct classes there. 
Addons infrastructuremay be  required when configures dynamic loading but you are creating everything statically. And filling of AddonParameters is complex. At the end you pass structures.