two apps interraction. added maven profiles and stuff