Code Refactoring

-Consolidating the Registration API between Baidu and other registration
types.
-Incrementing the API version.