Add dom constants and configuration
Implement code for `add` and `matches` WIP