Add a constructer for Setting class, add maven install shell script