add bernstein.jar and controller