Change model.* to Model.*
Separate Node and Tree classes to their own files