implemented bmotion script interface in groovy + removed java based
implementation + adapted other classes