Move common postinit to separate function
Move common postinit to separate function

klightspeed/EDDiscovery,klightspeed/EDDiscovery,EDDiscovery/EDDiscovery,EDDiscovery/EDDiscovery,klightspeed/EDDiscovery,andreaspada/EDDiscovery,EDDiscovery/EDDiscovery,andreaspada/EDDiscovery