migrate to java based configuration