Integrate Namespace into MasterController

* Added a instance of Namespace to MasterController
* Added mkdir/rmdir/readdir to MasterServer / MasterController
* Simplify the code of checking status for Rpc server
* Initiali importing some client code, but not tested yet.