update chai. move to architect from deprecated plugin module
update example
add debugging to test errors
new layout. removed plugin module and replaced with architect