refactoring and mds implementation

- some refactoring has been done on log for the control unit and Abstract commadn dispatcher
- the java implementation of mds has been update to have a little batch job executor. Has been implementend the rpc request into
  the slow batch job