allow setting of a custom writer
make route matching more strict, silence tests

* router uses prefixes to match
go back to one cli flag only
move flag into separate file
fixup flag
add method to get an AttributesMap
add test for multi attributes
move cli test into separate directory
add mandatory key for all register calls