Refactor the project for directory and remove tools writen in JS.