modify

- to java based config
- rest controller