Core for sample Java app