Remove style test method
Fix checkstyle warnings and add docs
Fix checkstyle warnings in LayoutDefinition
Put back the old loading mechanism to gradually move to the new system
Completely implement the main menu behavior and remove the old menu class