added a java class that handles webcam reading