refactoring, add case classes to ease the way to launch Powerapi for the start method