make resource manager singleton, it shoud be...
add logging level config