Added tests for menu item factory.
Renamed test project and namespace.
Moved menu logic to menu class.