Refactor registering of commands to be more explicit
What does this MR do?
Refactor registering of commands to be more explicit
- Refactor registering of commands to be more explicit which makes is easier to maintain and follow the code.
I the future MRs, we should move the registration of commands to the main, instead of ghost registration like we do now, which is hard to follow.