add c++ project template.
fix compile error in mac osx platform.
add function test folder
add rpc's dummy solution.