Moved Hook to Repositories

Hook api calls belong to the repository service
Hook Config can be other datatypes, use interface