Implemented specialization GUI

Still needs testing
Changed buildTree to be a non-static method