extract init function
no mandatory need for dynamic reconfigure gui