component -> segment to keep consistency with Cuba framework documentation
cleanups; typo fixes
more request/handler matching debugging; some more tests
fixed some formatting