Add round management APIs

Hi, FireIce. 

Here is the pull request as you ask. It should be able to ff in current master branch and testcases are all passed. Email me if there is any problem.

Regards,
Easyhard