Add package.json
Implement tree building
Update readme