add java doc and planingcontrollertest