Simplify toolbox of SampleDesigner
This simplifies the code for the SampleDesigner's toolbox (the left area). Functionality and appearance are unchanged.
There is still a refactoring to come (e.g. better names, move to better directories, don't use strings to define classes). However, since this MR is already quite big (sorry!), I will do this in another MR.