Add controller sample, refactor slides with code