Commands: The command system is a holy mess. It should be partially migrated to https://github.com/Incendo/cloud (with a fallback to existing commands)
Database: The database code is bloated, messy and very hard to test. We should migrate over to JDBI and structure everything better
There's a lot of potential for improvements of internal systems. The most important areas are: