add new Rmi layer
rename ValidCommands -> ValidCommand
minor cleanup
add document
add rmi test, cleanup, update api interface, ignore error messages if
osc server stops