remove unuseful code
add module conf logic
get loader data from module logic