Added some of the errir codes and also the Common base files