moved menu creation into new class