Personally I put controllers in a module, even in examples.  But I see that this has not been done for the other examples so you are being consistent.