add version 2 rmi
Merge pull request #8 from LeoOnHack/final

add version 2 rmi