Fix the menu by making an empty implementation of SampleFactory
Added a bit of the sample implementation