Use type field to determine hook type
Rename url hook to http
Rename hook files