fixed move-resource and remove-resource

The original function included code for moving one node to another
node, but this is not used
Merge pull request #11 from jensopetersen/master

fixed move-resource and remove-resource