Refactor mainmenu layout for BinaryAdmin layout

[#230]