Create API for MainWindow
Create API for Controller
Create request type for the programm to be able to differenciate facilmente request. It is just a simple enumeration
Add a surcharge to setMiddlePanel where the argument is a RequestType