finished namespace code and integrated it to symb table