Move xml loader (UriAccessor,...) into common module
Add automaton module to handle KB state machines