fixed middleware reload path + ns
load-middleware cleanup
added module support