adding an interface.js to enhance completion
correction on path manager, refactoring on js