Java tutorial code base