fixed directory path bug
updated module manager and kernel class