Updated Ken program
Generate doc file in gen directory
Encapsulate common Rakefile stuff
Added MAM Demo program