code clean up, fixed warnings, added some comments
updated kernel to new drivers interface