Changed resource manager api, changed parameter type of the remove method from ResourceNode to String.
Resource manager api implemented using Hibernate4.