Add main files and part of tree