integrating hooks into main di repo