Adding permission hook, field info hook, enable hook and install file.