Adding a java class