Simplify code, using shorter active record, add dependent destroy on menu, fix bugs