Moved ts2 definitions into seperate files
Panels can now be set collapsable