add resource manager
add resource manager