Caught connection exceptions from connection
Wrote explicit type and documentation for the tree in the model
Removed a println in rectangle