Refactoring

- Created `regex.klass`
- Created `utility.dom()`
- Refactored `utility.$()` to use `utility.dom()`