Added tutorial instructions, final code cleanups.