You can use rails generators for copy files into your Application. After that you can customize almost everything
Generators list:
bundle exec rails g the_comments --help
Copy View files for customization:
bundle exec rails g the_comments:views assets
bundle exec rails g the_comments:views views
Copy Helper file for tree customization:
bundle exec rails g the_comments:views helper
For more info read TheSortableTree doc