Added kernel module and plugin code