Added module support to kernel