trimmed and modularised menu class