Refactor procman in terms of AOS-RPC