renamed bind() to hook(), removed group(), flattened directory