Add process to use module with kernel. Move some define from hw to module. Use log...