Various fix

- Loading dependency packages
- Fix and improve regular expression
- Fix function name for avoiding name collision
- Use `defcustom` instead of `defvar` for customizable variables