add current_url method
add on_request hook
separete "set_content" method into static file loding and HTTP request.
add test cases