Added java and test folders and test classes.