Made some changes to the W1 code (added call of W1Init()) and some other things. This code currently does not support MMM stuff