Refactoring: Split each panels/modes in their own modules (cleaner to read)