Refactored the servlet dispatcher to commons runtime