Adding recursive dependency management to REMOVE

Still few issues to iron out