Add exceptions part
Move tree.erl in basics since a specific folder was not needed