change adapter class for general using and add diolage when loading from server
try merge with master
Merge pull request #122 from COMP231-S63G1/createCroupJavaCode

Create croup java code