fix return doc
add response header to result
separate setup from bootstrap
introduce interface for app router
remove condition for result, always compatible now