more fixes and makefile finally understood

again, take care of module independency