Adding Tim's Java files