Added initialization functions for the kernel module and extended the timer functionality