(fix) starts idNum at 0 on each new tree
(cleanup) cleaned modify-tree factory, railroad directive, and main controller
Merge pull request #51 from darkstar21/develop

Cleaned up modify tree factory, railroad directive, and main controller