refactor
refactor
update api
create RequestLifCycleManager to remove servlet dependency.