Started working on java class structure.