initial code

initial code for msblib/error added