Refactored menuItem to use a single database array.  Added some tests.