Importing editor source files to my project


I am trying to use the editor as a base for my project. I am having a hard time figuring out what files I need to add to my project from the editor folder inside the three.js repo. I tried copying the files but it did not work as it has some dependencies inside the three.js folder. Kindly help with the steps I need to have the editor work on my project so that I can start editing the files to satisfy my project needs.

Thank you.