add route function
add static resource search function