added manager part of shell_resource adaptor, resource API fixes