Enhancement: use library to parse (and fix) directives
Enhancement: add a few more assertions
Update: test setup
Enhancement: utilize new parser to get directives
Update: reverse logic

 * ensure the config object prefixes the directives
 * allows us to remove "logic" from the template
 * updated tests to reflect this