Created dynamic menu generator