Simplified generation code. Encapsulated tree.js
Splited generation adn visualisation
Renamed folder. Disabled warnings.