moved xApp class from commonjava to commonapp package