fixed resource manager + docs