Implement directive matching
Implement db directive and directive arguments
Add support for several areas