load dependency modules
Fix regexp

- escape dot('.'). Original code matches like 'fooophp'.
- Use `\\'` instead of '$'.
Add package prefix to `get-current-class`.

This avoids function name collision.
Use defcustom for customizable variables
Merge