separate java backend out into separate maven module / k plugin

**please review**