ready event when linking is complete
restructure and adapt to cores changes