separate java backend out into separate maven module / k plugin

**do not review yet**