Add buildfile and simple java class.